<script setup>
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <div class="app-container">
    <router-view></router-view>
    <footer class="footer">
      <div class="footer-content">
        <p>Copyright © {{ new Date().getFullYear() }} AI智能助手. All Rights Reserved.</p>
        <p>Made with ❤️ by Oliver AI Team</p>
      </div>
    </footer>
  </div>
</template>

<style>
:root {
  --primary-color: #409EFF;
  --text-primary: #303133;
  --text-secondary: #606266;
  --bg-primary: #f5f7fa;
  --bg-secondary: #ffffff;
  --shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
  padding: 20px;
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

.footer-content {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-content p {
  margin: 5px 0;
}

/* @media (max-width: 768px) {
  .footer {
    padding: 15px;
  }
  
  .footer-content {
    font-size: 12px;
  }
} */
</style>
